package com.grsu.phonestation.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.grsu.phonestation.dao.AdminDAO;
import com.grsu.phonestation.domain.Admin;
import com.grsu.phonestation.service.AdminService;

@Service
@Transactional
public class AdminServiceImpl extends UserServiceImpl<Admin> implements AdminService {

	@Autowired
	@Qualifier("adminDAOImpl")
	private AdminDAO adminDAO;
	
	@Override
	public AdminDAO getDao(){
		return adminDAO;
	}

}

